package com.spring.annotion;

import java.lang.annotation.*;

/**
 * @Description:
 * @Auther: zhibo
 * @Date: 2018/8/23 17:43
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyController {
    /**
     * The value may indicate a suggestion for a logical component name,
     * to be turned into a Spring bean in case of an autodetected component.
     * @return the suggested component name, if any (or empty String otherwise)
     */
    String value() default "";
}
